/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 描述: 办案直通车执法人员记录表 app_document_handle_person_record 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年08月31日
 */
@Data
@Table(name = "upcase.app_document_handle_person_record")
public class AppDocumentHandlePersonRecord implements Serializable {
    /**
     * 主键
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 办案直通车文书id
     */
    @Column(name = "app_document_id")
    private String appDocumentId;

    /**
     * 办案人员
     */
    @Column(name = "handle_person_name")
    private String handlePersonName;

    /**
     * 办案人员类型：1.主办、2.协办
     */
    @Column(name = "handle_person_type")
    private String handlePersonType;

    /**
     * 办案人员id（用户id）
     */
    @Column(name = "handle_person_id")
    private String handlePersonId;

    /**
     * 办案机构名称
     */
    @Column(name = "handle_org_name")
    private String handleOrgName;

    /**
     * 办案机构编码
     */
    @Column(name = "handle_org_code")
    private String handleOrgCode;

    /**
     * 办案部门名称
     */
    @Column(name = "handle_dept_name")
    private String handleDeptName;

    /**
     * 办案部门编码
     */
    @Column(name = "handle_dept_code")
    private String handleDeptCode;

    /**
     * 钉id
     */
    @Column(name = "ding_id")
    private String dingId;

    /**
     * 办案人员联系电话
     */
    @Column(name = "handle_person_tel")
    private String handlePersonTel;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;
    /**
     * 是否删除 0：1
     */
    @Column(name = "is_delete")
    private String isDelete;
    private static final long serialVersionUID = 1L;

}
